/*
 * Super class topic for all the lower topics.
 */

package topics;

/**
 *
 * @author link3988
 */
public class Topic {
    public String topic ="";

    /**
     * returns this topic
     * @return
     */
    public String getTopic()
    {
        return topic;
    }

    /**
     * adds the addition to the topic
     * @param addition
     */
    public void addToTopic(String addition)
    {
        topic += " " + addition;
    }

    /**
     * changes the topic to the new topic.
     * @param newTopic
     */
    public void setTopic(String newTopic)
    {
        topic = newTopic;
    }

}
